ActionMailer::Base.smtp_settings = {
  :address              => "smtp.gmail.com",
  :port                 => 587,
  #:domain               => "yipingba.com",
  :user_name => "liangwenke8@gmail.com",
  :password => "15913185305",
  :enable_starttls_auto => true,
  :authentication => :plain
}

ActionMailer::Base.default_url_options[:host] = "localhost:3000"
#Mail.register_interceptor(DevelopmentMailInterceptor) if Rails.env.development?
